package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;


/**
 * 病历记录对象 MedicalRecord
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("MedicalRecord")
@ApiModel(value = "MedicalRecord对象", description = "病历记录")
public class MedicalRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 病历号
     */
    @Excel(name = "病历号")
    @ApiModelProperty("病历号")
    @TableField("CaseNumber")
    private String CaseNumber;

    /**
     * 挂号id
     */
    @Excel(name = "挂号id")
    @ApiModelProperty("挂号id")
    @TableField("RegisterId")
    private Long RegisterId;

    /**
     * 主诉
     */
    @ApiModelProperty("主诉")
    @TableField("MedicalReadme")
    private String MedicalReadme;

    /**
     * 现病史
     */
    @ApiModelProperty("现病史")
    @TableField("MedicalPresent")
    private String MedicalPresent;

    /**
     * 现病治疗情况
     */
    @ApiModelProperty("现病治疗情况")
    @TableField("PresentTreat")
    private String PresentTreat;

    /**
     * 既往史
     */
    @ApiModelProperty("既往史")
    @TableField("MedicalHistory")
    private String MedicalHistory;

    /**
     * 过敏史
     */
    @ApiModelProperty("过敏史")
    @TableField("MedicalAllergy")
    private String MedicalAllergy;

    /**
     * 体格检查
     */
    @ApiModelProperty("体格检查")
    @TableField("MedicalPhysique")
    private String MedicalPhysique;

    /**
     * 检查建议
     */
    @ApiModelProperty("检查建议")
    @TableField("TestOrder")
    private String TestOrder;

    /**
     * 检查结果
     */
    @Excel(name = "检查结果")
    @ApiModelProperty("检查结果")
    @TableField("MedicalTested")
    private String MedicalTested;

    /**
     * 诊断结果
     */
    @Excel(name = "诊断结果")
    @ApiModelProperty("诊断结果")
    @TableField("MedicalDiagnosis")
    private String MedicalDiagnosis;

    /**
     * 处理意见
     */
    @ApiModelProperty("处理意见")
    @TableField("MedicalHandling")
    private String MedicalHandling;

    /**
     * 病历状态1-暂存2-已提交3-诊毕
     */
    @Excel(name = "病历状态1-暂存2-已提交3-诊毕")
    @ApiModelProperty("病历状态1-暂存2-已提交3-诊毕")
    @TableField("CaseState")
    private Long CaseState;

    /**
     * 删除标记
     */
    @ApiModelProperty("删除标记")
    @TableField("DelMark")
    private Long DelMark;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("CaseNumber")
    public String getCaseNumber() {
        return CaseNumber;
    }

    public void setCaseNumber(String CaseNumber) {
        this.CaseNumber = CaseNumber;
    }

    @JsonProperty("RegisterId")
    public Long getRegisterId() {
        return RegisterId;
    }

    public void setRegisterId(Long RegisterId) {
        this.RegisterId = RegisterId;
    }

    @JsonProperty("MedicalReadme")
    public String getMedicalReadme() {
        return MedicalReadme;
    }

    public void setMedicalReadme(String MedicalReadme) {
        this.MedicalReadme = MedicalReadme;
    }

    @JsonProperty("MedicalPresent")
    public String getMedicalPresent() {
        return MedicalPresent;
    }

    public void setMedicalPresent(String MedicalPresent) {
        this.MedicalPresent = MedicalPresent;
    }

    @JsonProperty("PresentTreat")
    public String getPresentTreat() {
        return PresentTreat;
    }

    public void setPresentTreat(String PresentTreat) {
        this.PresentTreat = PresentTreat;
    }

    @JsonProperty("MedicalHistory")
    public String getMedicalHistory() {
        return MedicalHistory;
    }

    public void setMedicalHistory(String MedicalHistory) {
        this.MedicalHistory = MedicalHistory;
    }

    @JsonProperty("MedicalAllergy")
    public String getMedicalAllergy() {
        return MedicalAllergy;
    }

    public void setMedicalAllergy(String MedicalAllergy) {
        this.MedicalAllergy = MedicalAllergy;
    }

    @JsonProperty("MedicalPhysique")
    public String getMedicalPhysique() {
        return MedicalPhysique;
    }

    public void setMedicalPhysique(String MedicalPhysique) {
        this.MedicalPhysique = MedicalPhysique;
    }

    @JsonProperty("TestOrder")
    public String getTestOrder() {
        return TestOrder;
    }

    public void setTestOrder(String TestOrder) {
        this.TestOrder = TestOrder;
    }

    @JsonProperty("MedicalTested")
    public String getMedicalTested() {
        return MedicalTested;
    }

    public void setMedicalTested(String MedicalTested) {
        this.MedicalTested = MedicalTested;
    }

    @JsonProperty("MedicalDiagnosis")
    public String getMedicalDiagnosis() {
        return MedicalDiagnosis;
    }

    public void setMedicalDiagnosis(String MedicalDiagnosis) {
        this.MedicalDiagnosis = MedicalDiagnosis;
    }

    @JsonProperty("MedicalHandling")
    public String getMedicalHandling() {
        return MedicalHandling;
    }

    public void setMedicalHandling(String MedicalHandling) {
        this.MedicalHandling = MedicalHandling;
    }

    @JsonProperty("CaseState")
    public Long getCaseState() {
        return CaseState;
    }

    public void setCaseState(Long CaseState) {
        this.CaseState = CaseState;
    }

    @JsonProperty("DelMark")
    public Long getDelMark() {
        return DelMark;
    }

    public void setDelMark(Long DelMark) {
        this.DelMark = DelMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("CaseNumber", getCaseNumber())
                .append("RegisterId", getRegisterId())
                .append("MedicalReadme", getMedicalReadme())
                .append("MedicalPresent", getMedicalPresent())
                .append("PresentTreat", getPresentTreat())
                .append("MedicalHistory", getMedicalHistory())
                .append("MedicalAllergy", getMedicalAllergy())
                .append("MedicalPhysique", getMedicalPhysique())
                .append("TestOrder", getTestOrder())
                .append("MedicalTested", getMedicalTested())
                .append("MedicalDiagnosis", getMedicalDiagnosis())
                .append("MedicalHandling", getMedicalHandling())
                .append("CaseState", getCaseState())
                .append("DelMark", getDelMark())
                .toString();
    }
}

